include config.mk

all: pies

pies: pies.o
	$(CC) -o $@ pies.o $(LDFLAGS)

pies.o: pies.c
	$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@

clean:
	$(RM) pies
	$(RM) pies.o

.PHONY: all clean
